コード例 #1
0
 //Sets a random time when a search should take place
 void BeginSearch()
 {
     searchWaitTime = 0f;
     status         = GenericStatus.Searching;
 }
コード例 #2
0
 protected override void ResetBehaviours()
 {
     base.ResetBehaviours();
     status         = GenericStatus.None;
     searchWaitTime = 0f;
 }
コード例 #3
0
 internal static MangaStatus ToMangaStatus(this GenericStatus @this) => (MangaStatus)@this;
コード例 #4
0
 void BeginAttack(GameObject target)
 {
     status = GenericStatus.Attacking;
     FollowTarget(target.transform);
 }
コード例 #5
0
 internal static AnimeStatus ToAnimeStatus(this GenericStatus @this) => (AnimeStatus)@this;