void Awake()
 {
     myBody            = GetComponent <Rigidbody2D>();
     GameMasterGo      = GameObject.Find("GameMaster");
     GuiManager        = GameMasterGo.GetComponent <guiManager>();
     GameSettings      = GameMasterGo.GetComponent <game_settings>();
     GameObjectHandler = GameMasterGo.GetComponent <GameObject_handler>();
 }
    void Awake()
    {
        GameMasterGo       = GameObject.Find("GameMaster");
        GuiManager         = GameMasterGo.GetComponent <guiManager>();
        GoHandler          = GameMasterGo.GetComponent <GameObject_handler>();
        GuiCanvasGo        = GuiManager.GuiCanvasGo;
        floatingTextPrefab = GuiManager.guiFloatingDamageTextPrefab;
        if (gameObject.layer == 8)
        {
            isPlayer = true;
        }

        myResistances = GetComponent <resistances>();
    }
 void Awake()
 {
     goHandler  = GetComponent <GameObject_handler>();
     GuiManager = GetComponent <guiManager>();
 }