Beispiel #1
0
        // Token: 0x06000C0A RID: 3082 RVA: 0x00035AD0 File Offset: 0x00033CD0
        public static bool HealBeamAlreadyExists(GameObject owner, HealthComponent targetHealthComponent)
        {
            List <HealBeamController> instancesList = InstanceTracker.GetInstancesList <HealBeamController>();
            int i     = 0;
            int count = instancesList.Count;

            while (i < count)
            {
                HealBeamController healBeamController = instancesList[i];
                if (healBeamController.target.healthComponent == targetHealthComponent && healBeamController.ownership.ownerObject == owner)
                {
                    return(true);
                }
                i++;
            }
            return(false);
        }
Beispiel #2
0
 // Token: 0x06000C09 RID: 3081 RVA: 0x00035AC2 File Offset: 0x00033CC2
 public static bool HealBeamAlreadyExists(GameObject owner, HurtBox target)
 {
     return(HealBeamController.HealBeamAlreadyExists(owner, target.healthComponent));
 }