ChensGradiusMod
Chen.GradiusMod.Drones.Drone
Drone.CreatePickupDisplay(GameObject, float) Method
Creates a model that is displayed when the drone is dropped as a pickup.
Call this before the original model is used for the body, as replacing the body model changes the original object.
protected GameObject CreatePickupDisplay(GameObject model, float scale=1f);
Parameters
model UnityEngine.GameObject
The model of the drone.
scale System.Single
The scale of the display model.
Returns
UnityEngine.GameObject
The display prefab