BoxCollider2D
Collider2D
BoxCollider2D

class:/TYPE/UnityEngine.BoxCollider2D//, can be loaded from an assetbundle using BoxCollider2D::createfromassetbundle(bundlename,prefabname) /

Parent

Collider2D

Variables
autotiling
System.Boolean autotiling
edgeradius
System.Single edgeradius
size
UnityEngine.Vector2 size
Functions
boxcollider2d::​create
static UnityEngine.BoxCollider2D Create ()

Constructor replaces new;

Returns

UnityEngine.BoxCollider2D

boxcollider2d::​fromassetbundle
static UnityEngine.BoxCollider2D CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.BoxCollider2D