Esempio n. 1
0
        public FanData(PurchaseInteraction fan)
        {
            var jumpVolume = fan.GetComponentInChildren <JumpVolume>(true);

            transform = new SerializableTransform(fan.transform);

            cost         = fan.cost;
            available    = fan.available;
            jumpVelocity = new SerializableVector3(jumpVolume.jumpVelocity);
        }