Esempio n. 1
0
    private void Awake()
    {
        transform = GetComponent <Transform>();
        reaction  = GetComponent <BaseReactionBehaviour>();

        currentSpeed = WalkSpeed;
    }
 protected virtual void Start()
 {
     CurrentHealth = StartingHealth;
     reaction      = GetComponent <BaseReactionBehaviour>();
 }