I’m getting a different transform position I use
public class Knife : MonoBehaviour
{
private void Awake ()
{
Debug.Log( transform.position);
}
}
then if I use
public class Knife : MonoBehaviour
{
private void Start ()
{
Debug.Log( transform.position);
}
}
Things to note: This doesn’t move now. None of its parents move. It’s on a canvas. Which is set to scale with the screen. Maybe this is because Awake happens before the Canvas Scaler component kicks in, and Start is after? I have no clue.