// Start is called before the first frame update void Start() { m_thing = GetComponent <Thing>(); m_box = GetComponent <Box>(); m_collider = GetComponent <BoxCollider2D>(); m_rigid = GetComponent <Rigidbody2D>(); m_effector2d = GetComponent <PlatformEffector2D>(); m_rotateTarget = GetComponent <RotateByTarget>(); m_collision = GetComponent <SplitBossPartCollision>(); if (m_rigid != null) { m_fOriginalGravity = m_rigid.gravityScale; } _ThingEnable(false); }
// Start is called before the first frame update void Start() { m_collision = GetComponent <SplitBossPartCollision>(); }