void Start() { _Left_Movementation = true; _Up_Movementation = true; _Health_System_Enemy_Script = GetComponent <Health_System_Enemy>(); _Walk_Enemy_Script = GetComponent <Walk_Enemy>(); }
// Start is called before the first frame update void Start() { _Right_Movementation = true; _Rdb = GetComponent <Rigidbody2D>(); _Health_System_Enemy_Script = GetComponent <Health_System_Enemy>(); _Right_Vector = new Vector2(_Speed_X, _Rdb.velocity.y); _Left_Vector = new Vector2(-_Speed_X, _Rdb.velocity.y); }
// Start is called before the first frame update void Start() { _Left_Movementation = true; _Up_Movementation = true; _Rdb = GetComponent <Rigidbody2D>(); _Health_System_Enemy_Script = GetComponent <Health_System_Enemy>(); _Right_Up_Diagonal = new Vector2(_Speed_X, _Speed_Y); _Right_Down_Diagonal = new Vector2(_Speed_X, -_Speed_Y); _Left_Up_Diagonal = new Vector2(-_Speed_X, _Speed_Y); _Left_Down_Diagonal = new Vector2(-_Speed_X, -_Speed_Y); }
void Start() { _Health_System_Enemy_Script = GetComponent <Health_System_Enemy>(); _Walk_Left_And_Right_Side_Script = GetComponent <Walk_Enemy>(); }