private void Awake() { anim = GetComponent <Animator>(); rbody = GetComponent <Rigidbody2D>(); rendr = GetComponent <SpriteRenderer>(); player = GameController.Instance.Player; opossum = new baseCharacter(); opossum.CharacterName = "Opposum"; }
public baseCharacter eagle; //kalıtım void Awake() { eagle = new baseCharacter(); eagle.CharacterName = "eagle"; eagle.Health = 200; eagle.Damage = 5; GOCharacter = GameController.Instance.Player; }
void Awake() { anim = GetComponent <Animator>(); rbody = GetComponent <Rigidbody2D>(); player = new baseCharacter(); player.CharacterName = "Player"; gameOver = false; }
void Awake() { barbarianKalitim = new baseCharacter(); barbarianKalitim.Damage = 20f; barbarianKalitim.Health = 60f; barbarianKalitim.CharacterName = "barbarian"; BOOLAiRightGETSET = false; BOOLAiLeftGETSET = false; GOPlayer = GameController.Instance.Player.gameObject; ScaleOfStart = transform.localScale; gameObject.transform.GetChild(1).gameObject.GetComponent <MeshRenderer>().sortingLayerName = "PlayerLayer"; }
private void Awake() { wizard = new baseCharacter(); wizard.CharacterName = "Cabbar-Wizard"; }