Beispiel #1
0
 public RustEntity(BaseEntity entity)
 {
     Entity           = entity;
     Transform        = new RustNetworkableTransform(entity);
     EntityInstanceId = entity.GetInstanceID().ToString();
     State            = new RustEntityState(entity);
 }
Beispiel #2
0
        public RustEntity(BaseEntity entity)
        {
            Entity           = entity;
            Transform        = new RustNetworkableTransform(entity);
            EntityInstanceId = entity.GetInstanceID().ToString();

            // Rust todo: asset and state impl
            State = new RustEntityState(entity);
            Asset = null;
        }