import {NativeStruct} from "../struct/NativeStruct"; export class UnityVector3 extends NativeStruct{ x(){ return this.readFloat(); } y(){ return this.add(0x4).readFloat(); } z(){ return this.add(0x8).readFloat(); } toString(){ return "{ x : "+this.x()+", y :" +this.y()+" z :"+this.z()+" }"; } }