HealthBarController.Update C# (CSharp) Method

Update() protected method

protected Update ( ) : void
return void
    protected new void Update()
    {
        transform.rotation = Quaternion.identity;
        if (transform.parent)
            transform.position = new Vector2( transform.parent.transform.position.x , transform.parent.transform.position.y + yMargin);
    }
HealthBarController