public void set_moveSpeed(float v) { speed = v; if (gameEntity != null) { gameEntity.set_moveSpeed(v); } }
public void set_moveSpeed(float v) { speed = v; //if(gameEntity != null) if (!System.Object.ReferenceEquals(gameEntity, null)) { gameEntity.set_moveSpeed(v); } }