예제 #1
0
        void WatchCreature(CreatureBoardAsset creatureBoardAsset)
        {
            pausedCreatures.Remove(creatureBoardAsset);
            if (watchedCreatures.Contains(creatureBoardAsset))
            {
                return;
            }

            if (!originalAngles.ContainsKey(creatureBoardAsset))
            {
                originalAngles.Add(creatureBoardAsset, creatureBoardAsset.GetRotation());
            }
            watchedCreatures.Add(creatureBoardAsset);
        }