コード例 #1
0
 public void ResetValues()
 {
     collectedKeys  = 0;
     totalKeys      = 0;
     endCilinder    = null;
     player         = null;
     _shipAce       = Instantiate(shipAce);
     portalIsOpened = false;
 }
コード例 #2
0
        public bool IsCollided(Player player, FinishZone finishZone)
        {
            var intersectionDeter = new IntersectionDeterminant();

            return(intersectionDeter.IsIntersected(player.Form, finishZone.Form));
        }