An open source Danmaku development kit for Unity3D.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Made OldPosition an internal property of Danmaku.

authored by

Phillip Spiess and committed by
James Liu
4831fca3 10d0270a

+4 -3
+4 -3
Assets/DanmakU/Runtime/Core/Danmaku.cs
··· 52 52 [MethodImpl(MethodImplOptions.AggressiveInlining)] set { Pool.Positions[Id] = value; } 53 53 } 54 54 /// <summary> 55 - /// Sets the world position of the Danmaku during the previous frame. (Internal only setter.) 55 + /// Gets or sets the world position of the Danmaku during the previous frame. 56 56 /// </summary> 57 - public Vector2 OldPosition { 58 - [MethodImpl(MethodImplOptions.AggressiveInlining)] private set { Pool.OldPositions[Id] = value; } 57 + internal Vector2 OldPosition { 58 + [MethodImpl(MethodImplOptions.AggressiveInlining)] get { return Pool.OldPositions[Id]; } 59 + [MethodImpl(MethodImplOptions.AggressiveInlining)] set { Pool.OldPositions[Id] = value; } 59 60 } 60 61 61 62 /// <summary>