M_MSCLoader_MSCExtensions_MakePickable_1 - piotrulos/MSCModLoader GitHub Wiki

MakePickable(Transform) Method

Make this GameObject pickable in game (as long as it has Rigidbody attached)

Definition

Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.3.1.346

C#

public static void MakePickable(
	this Transform transform
)

Parameters

  Transform
Transform part of GameObject to make pickable

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Transform. When you use instance method syntax to call this method, omit the first parameter. For more information, see

Extension Methods (Visual Basic) or

Extension Methods (C# Programming Guide).

See Also

Reference

MSCExtensions Class
MakePickable Overload
MSCLoader Namespace

⚠️ **GitHub.com Fallback** ⚠️