示例#1
0
    void Start()
    {
        bodyShrink = GetComponent <BodyShrink>();

        if (spawnPosition == null)
        {
            Debug.LogWarning("<b>Spawn position</b> for player's bullets <b>is not set</b>", spawnPosition);
        }
    }
 void Start()
 {
     playerMovement = GetComponent <PlayerMovement>();
     playerShoot    = GetComponent <PlayerShoot>();
     bodyShrink     = GetComponent <BodyShrink>();
 }