Пример #1
0
    public override void Tick()
    {
        transform.position = Position;
        transform.rotation = Quaternion.Euler(Rotation);

        SpatialPartitioning.Update(this);
    }
Пример #2
0
 public override void Tick()
 {
     Position = transform.position;
     Rotation = transform.rotation.eulerAngles;
     SpatialPartitioning.Update(this);
 }