﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Gaazar;

[DisallowMultipleComponent]
public class NettedTransform : NettedBehavior
{
    // Start is called before the first frame update
    [SyncVar]
    Vector3 lPosition;
    [SyncVar]
    Quaternion lRotation;
    [SyncVar]
    Vector3 lScale;
    public override void OnReceivePost()
    {
        transform.localPosition = lPosition;
        transform.localRotation = lRotation;
        transform.localScale = lScale;
    }
    public override bool  OnSendPrep(bool force)
    {
        return false;
    }
    // Update is called once per frame

}
