Cocos2D.CCLayerMultiplex
Class CCLayerMultiplex
Namespace: Cocos2D
Assembly: Cocos2D.dll, cocos2d_mono.Core.Android.dll, cocos2d_mono.Core.DesktopGL.dll, cocos2d-mono.Core.iOS.dll, cocos2d_mono.Core.Linux.dll, cocos2d_mono.Core.macOS.dll, cocos2d_mono.Windows.dll, cocos2d_mono.DesktopGL.dll, cocos2d-mono.iOS.dll, cocos2d_mono.Linux.dll, cocos2d_mono.macOS.dll
CCMultipleLayer is a CCLayer with the ability to multiplex it's children. Features:
- It supports one or more children
- Only one children will be active a time
public class CCLayerMultiplex : CCLayerRGBA, ICCSelectorProtocol, ICCFocusable, ICCTargetedTouchDelegate, ICCStandardTouchDelegate, ICCTouchDelegate, ICCKeypadDelegate, ICCKeyboardDelegate, IComparer<CCNode>, ICCAccelerometerDelegate, ICCRGBAProtocol
Inheritance
object ← CCNode ← CCLayer ← CCLayerRGBA ← CCLayerMultiplex
Implements
ICCSelectorProtocol, ICCFocusable, ICCTargetedTouchDelegate, ICCStandardTouchDelegate, ICCTouchDelegate, ICCKeypadDelegate, ICCKeyboardDelegate, IComparer<CCNode>, ICCAccelerometerDelegate, ICCRGBAProtocol
Inherited Members
CCLayerRGBA._displayedOpacity, CCLayerRGBA._realOpacity, CCLayerRGBA._displayedColor, CCLayerRGBA._realColor, CCLayerRGBA._cascadeColorEnabled, CCLayerRGBA._cascadeOpacityEnabled, CCLayerRGBA.Init(), CCLayerRGBA.UpdateDisplayedColor(CCColor3B), CCLayerRGBA.UpdateDisplayedOpacity(byte), CCLayerRGBA.Color, CCLayerRGBA.DisplayedColor, CCLayerRGBA.Opacity, CCLayerRGBA.DisplayedOpacity, CCLayerRGBA.IsOpacityModifyRGB, CCLayerRGBA.CascadeColorEnabled, CCLayerRGBA.CascadeOpacityEnabled, CCLayer.m_childClippingMode, CCLayer.Visit(), CCLayer.Init(), CCLayer.AddedToScene(), CCLayer.OnEnter(), CCLayer.OnExit(), CCLayer.OnEnterTransitionDidFinish(), CCLayer.DidAccelerate(CCAcceleration), CCLayer.ChildClippingMode, CCLayer.ContentSize, CCLayer.AccelerometerEnabled, CCNode.kCCNodeTagInvalid, CCNode.m_bIgnoreAnchorPointForPosition, CCNode.m_sTransform, CCNode.m_bInverseDirty, CCNode.m_bRunning, CCNode.m_bTransformDirty, CCNode.m_bVisible, CCNode.m_bReorderChildDirty, CCNode.m_fRotationX, CCNode.m_fRotationY, CCNode.m_fScaleX, CCNode.m_fScaleY, CCNode.m_bWorldTransformIsDirty, CCNode.m_NodeToWorldTransform, CCNode.m_fSkewX, CCNode.m_fSkewY, CCNode.m_fVertexZ, CCNode.m_uOrderOfArrival, CCNode.m_pActionManager, CCNode.m_pCamera, CCNode.m_pChildren, CCNode.m_pChildrenByTag, CCNode.m_pGrid, CCNode.m_pParent, CCNode.m_pScheduler, CCNode.pDispatcher, CCNode.m_pUserData, CCNode.m_obAnchorPoint, CCNode.m_obAnchorPointInPoints, CCNode.m_obContentSize, CCNode.m_obPosition, CCNode._displayedOpacity, CCNode._realOpacity, CCNode._displayedColor, CCNode._realColor, CCNode._cascadeColorEnabled, CCNode._cascadeOpacityEnabled, CCNode.Init(), CCNode.Serialize(Stream), CCNode.Deserialize(Stream), CCNode.ConvertPointTo(ref CCPoint, CCNode), CCNode.GetBoundingBox(CCNode), CCNode.ForceTransformRefresh(), CCNode.Update(float), CCNode.GetPosition(out float, out float), CCNode.SetPosition(float, float), CCNode.ResetCleanState(), CCNode.Cleanup(), CCNode.GetChildByTag(int), CCNode.AddChild(CCNode), CCNode.AddChild(CCNode, int), CCNode.AddChild(CCNode, int, int), CCNode.RemoveFromParent(bool), CCNode.RemoveChild(CCNode, bool), CCNode.RemoveChildByTag(int), CCNode.RemoveChildByTag(int, bool), CCNode.RemoveAllChildrenByTag(int), CCNode.RemoveAllChildrenByTag(int, bool), CCNode.RemoveAllChildren(bool), CCNode.UpdateZOrderRange(), CCNode.ReorderChild(CCNode, int), CCNode.Compare(CCNode, CCNode), CCNode.SortAllChildren(), CCNode.Draw(), CCNode.UpdateGraphIndex(), CCNode.Visit(), CCNode.Visit(ref CCAffineTransform), CCNode.VisitRenderer(ref CCAffineTransform), CCNode.TransformAncestors(), CCNode.SetTransform(CCAffineTransform), CCNode.Transform(), CCNode.UpdateDisplayedColor(CCColor3B), CCNode.UpdateDisplayedOpacity(byte), CCNode.OnEnter(), CCNode.OnEnterTransitionDidFinish(), CCNode.AddedToScene(), CCNode.OnExitTransitionDidStart(), CCNode.OnExit(), CCNode.RunAction(CCAction), CCNode.StopAllActions(), CCNode.StopAction(CCAction), CCNode.StopAction(int), CCNode.GetAction(int), CCNode.NumberOfRunningActions(), CCNode.ScheduleUpdate(), CCNode.ScheduleUpdateWithPriority(int), CCNode.UnscheduleUpdate(), CCNode.Schedule(Action<float>), CCNode.Schedule(Action<float>, float), CCNode.Schedule(Action<float>, float, uint, float), CCNode.ScheduleOnce(Action<float>, float), CCNode.Unschedule(Action<float>), CCNode.UnscheduleAllSelectors(), CCNode.UnscheduleAll(), CCNode.Resume(), CCNode.ResumeSchedulerAndActions(), CCNode.Pause(), CCNode.PauseSchedulerAndActions(), CCNode.NodeToParentTransform(), CCNode.SetTransformIsDirty(), CCNode.SetWorldTransformIsDirty(), CCNode.UpdateTransform(), CCNode.ParentToNodeTransform(), CCNode.NodeToWorldTransform(), CCNode.WorldToNodeTransform(), CCNode.ConvertToNodeSpace(CCPoint), CCNode.ConvertToWorldSpace(CCPoint), CCNode.ConvertToNodeSpaceAr(CCPoint), CCNode.ConvertToWorldSpaceAr(CCPoint), CCNode.ConvertToWindowSpace(CCPoint), CCNode.ConvertTouchToNodeSpace(CCTouch), CCNode.ConvertTouchToNodeSpaceAr(CCTouch), CCNode.RegisterWithTouchDispatcher(), CCNode.TouchesBegan(List<CCTouch>), CCNode.TouchesMoved(List<CCTouch>), CCNode.TouchesEnded(List<CCTouch>), CCNode.TouchesCancelled(List<CCTouch>), CCNode.TouchBegan(CCTouch), CCNode.TouchMoved(CCTouch), CCNode.TouchEnded(CCTouch), CCNode.TouchCancelled(CCTouch), CCNode.KeyBackClicked(), CCNode.KeyMenuClicked(), CCNode.KeyPressed(Keys), CCNode.KeyReleased(Keys), CCNode.KeyboardCurrentState(KeyboardState), CCNode.OnGamePadTriggerUpdate(float, float, PlayerIndex), CCNode.OnGamePadStickUpdate(CCGameStickStatus, CCGameStickStatus, PlayerIndex), CCNode.OnGamePadDPadUpdate(CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, PlayerIndex), CCNode.OnGamePadConnectionUpdate(PlayerIndex, bool), CCNode.OnGamePadButtonUpdate(CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, CCGamePadButtonStatus, PlayerIndex), CCNode.Dispose(), CCNode.Dispose(bool), CCNode.CleanUpParentsProperly(), CCNode.Color, CCNode.DisplayedColor, CCNode.Opacity, CCNode.DisplayedOpacity, CCNode.IsOpacityModifyRGB, CCNode.CascadeColorEnabled, CCNode.CascadeOpacityEnabled, CCNode.IsSerializable, CCNode.HasFocus, CCNode.CanReceiveFocus, CCNode.Tag, CCNode.UserData, CCNode.UserObject, CCNode.SkewX, CCNode.SkewY, CCNode.LocalMaxZForChildren, CCNode.LocalMInZForChildren, CCNode.ZOrder, CCNode.VertexZ, CCNode.Rotation, CCNode.RotationX, CCNode.RotationY, CCNode.Scale, CCNode.ScaleX, CCNode.ScaleY, CCNode.Position, CCNode.PositionX, CCNode.PositionY, CCNode.Children, CCNode.ChildrenCount, CCNode.Camera, CCNode.Grid, CCNode.VisibleInParent, CCNode.Visible, CCNode.AnchorPointInPoints, CCNode.AnchorPoint, CCNode.ContentSizeInPixels, CCNode.ScaledContentSize, CCNode.ContentSize, CCNode.IsRunning, CCNode.Parent, CCNode.IgnoreAnchorPointForPosition, CCNode.WorldBoundingBox, CCNode.BoundingBoxTransformedToWorld, CCNode.AffineLocalTransform, CCNode.AffineWorldTransform, CCNode.BoundingBox, CCNode.BoundingBoxInPixels, CCNode.OrderOfArrival, CCNode.AdditionalTransform, CCNode.Name, CCNode.ActionManager, CCNode.Scheduler, CCNode.TouchMode, CCNode.TouchEnabled, CCNode.VisibleForTouches, CCNode.TouchPriority, CCNode.KeypadEnabled, CCNode.KeyboardEnabled, CCNode.KeyboardMode, CCNode.GamePadEnabled, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
CCLayerMultiplex()
public CCLayerMultiplex()
CCLayerMultiplex(params CCLayer[])
creates a CCLayerMultiplex with one or more layers using a variable argument list.
public CCLayerMultiplex(params CCLayer[] layer)
Parameters
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction, params CCLayer[])
public CCLayerMultiplex(CCAction inAction, CCAction outAction, params CCLayer[] layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction)
public CCLayerMultiplex(CCAction inAction, CCAction outAction)
Parameters
inAction
CCAction
outAction
CCAction
CCLayerMultiplex(CCAction, CCAction, CCLayer)
public CCLayerMultiplex(CCAction inAction, CCAction outAction, CCLayer layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer
CCLayerMultiplex()
public CCLayerMultiplex()
CCLayerMultiplex(params CCLayer[])
creates a CCLayerMultiplex with one or more layers using a variable argument list.
public CCLayerMultiplex(params CCLayer[] layer)
Parameters
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction, params CCLayer[])
public CCLayerMultiplex(CCAction inAction, CCAction outAction, params CCLayer[] layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction)
public CCLayerMultiplex(CCAction inAction, CCAction outAction)
Parameters
inAction
CCAction
outAction
CCAction
CCLayerMultiplex(CCAction, CCAction, CCLayer)
public CCLayerMultiplex(CCAction inAction, CCAction outAction, CCLayer layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer
CCLayerMultiplex()
public CCLayerMultiplex()
CCLayerMultiplex(params CCLayer[])
public CCLayerMultiplex(params CCLayer[] layer)
Parameters
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction, params CCLayer[])
public CCLayerMultiplex(CCAction inAction, CCAction outAction, params CCLayer[] layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction)
public CCLayerMultiplex(CCAction inAction, CCAction outAction)
Parameters
inAction
CCAction
outAction
CCAction
CCLayerMultiplex(CCAction, CCAction, CCLayer)
public CCLayerMultiplex(CCAction inAction, CCAction outAction, CCLayer layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer
CCLayerMultiplex()
public CCLayerMultiplex()
CCLayerMultiplex(params CCLayer[])
public CCLayerMultiplex(params CCLayer[] layer)
Parameters
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction, params CCLayer[])
public CCLayerMultiplex(CCAction inAction, CCAction outAction, params CCLayer[] layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction)
public CCLayerMultiplex(CCAction inAction, CCAction outAction)
Parameters
inAction
CCAction
outAction
CCAction
CCLayerMultiplex(CCAction, CCAction, CCLayer)
public CCLayerMultiplex(CCAction inAction, CCAction outAction, CCLayer layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer
CCLayerMultiplex()
public CCLayerMultiplex()
CCLayerMultiplex(params CCLayer[])
public CCLayerMultiplex(params CCLayer[] layer)
Parameters
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction, params CCLayer[])
public CCLayerMultiplex(CCAction inAction, CCAction outAction, params CCLayer[] layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction)
public CCLayerMultiplex(CCAction inAction, CCAction outAction)
Parameters
inAction
CCAction
outAction
CCAction
CCLayerMultiplex(CCAction, CCAction, CCLayer)
public CCLayerMultiplex(CCAction inAction, CCAction outAction, CCLayer layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer
CCLayerMultiplex()
public CCLayerMultiplex()
CCLayerMultiplex(params CCLayer[])
public CCLayerMultiplex(params CCLayer[] layer)
Parameters
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction, params CCLayer[])
public CCLayerMultiplex(CCAction inAction, CCAction outAction, params CCLayer[] layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction)
public CCLayerMultiplex(CCAction inAction, CCAction outAction)
Parameters
inAction
CCAction
outAction
CCAction
CCLayerMultiplex(CCAction, CCAction, CCLayer)
public CCLayerMultiplex(CCAction inAction, CCAction outAction, CCLayer layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer
CCLayerMultiplex()
public CCLayerMultiplex()
CCLayerMultiplex(params CCLayer[])
public CCLayerMultiplex(params CCLayer[] layer)
Parameters
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction, params CCLayer[])
public CCLayerMultiplex(CCAction inAction, CCAction outAction, params CCLayer[] layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction)
public CCLayerMultiplex(CCAction inAction, CCAction outAction)
Parameters
inAction
CCAction
outAction
CCAction
CCLayerMultiplex(CCAction, CCAction, CCLayer)
public CCLayerMultiplex(CCAction inAction, CCAction outAction, CCLayer layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer
CCLayerMultiplex()
public CCLayerMultiplex()
CCLayerMultiplex(params CCLayer[])
public CCLayerMultiplex(params CCLayer[] layer)
Parameters
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction, params CCLayer[])
public CCLayerMultiplex(CCAction inAction, CCAction outAction, params CCLayer[] layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction)
public CCLayerMultiplex(CCAction inAction, CCAction outAction)
Parameters
inAction
CCAction
outAction
CCAction
CCLayerMultiplex(CCAction, CCAction, CCLayer)
public CCLayerMultiplex(CCAction inAction, CCAction outAction, CCLayer layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer
CCLayerMultiplex()
public CCLayerMultiplex()
CCLayerMultiplex(params CCLayer[])
public CCLayerMultiplex(params CCLayer[] layer)
Parameters
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction, params CCLayer[])
public CCLayerMultiplex(CCAction inAction, CCAction outAction, params CCLayer[] layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction)
public CCLayerMultiplex(CCAction inAction, CCAction outAction)
Parameters
inAction
CCAction
outAction
CCAction
CCLayerMultiplex(CCAction, CCAction, CCLayer)
public CCLayerMultiplex(CCAction inAction, CCAction outAction, CCLayer layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer
CCLayerMultiplex()
public CCLayerMultiplex()
CCLayerMultiplex(params CCLayer[])
public CCLayerMultiplex(params CCLayer[] layer)
Parameters
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction, params CCLayer[])
public CCLayerMultiplex(CCAction inAction, CCAction outAction, params CCLayer[] layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction)
public CCLayerMultiplex(CCAction inAction, CCAction outAction)
Parameters
inAction
CCAction
outAction
CCAction
CCLayerMultiplex(CCAction, CCAction, CCLayer)
public CCLayerMultiplex(CCAction inAction, CCAction outAction, CCLayer layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer
CCLayerMultiplex()
public CCLayerMultiplex()
CCLayerMultiplex(params CCLayer[])
public CCLayerMultiplex(params CCLayer[] layer)
Parameters
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction, params CCLayer[])
public CCLayerMultiplex(CCAction inAction, CCAction outAction, params CCLayer[] layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction)
public CCLayerMultiplex(CCAction inAction, CCAction outAction)
Parameters
inAction
CCAction
outAction
CCAction
CCLayerMultiplex(CCAction, CCAction, CCLayer)
public CCLayerMultiplex(CCAction inAction, CCAction outAction, CCLayer layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer
CCLayerMultiplex()
public CCLayerMultiplex()
CCLayerMultiplex(params CCLayer[])
public CCLayerMultiplex(params CCLayer[] layer)
Parameters
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction, params CCLayer[])
public CCLayerMultiplex(CCAction inAction, CCAction outAction, params CCLayer[] layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer[]
CCLayerMultiplex(CCAction, CCAction)
public CCLayerMultiplex(CCAction inAction, CCAction outAction)
Parameters
inAction
CCAction
outAction
CCAction
CCLayerMultiplex(CCAction, CCAction, CCLayer)
public CCLayerMultiplex(CCAction inAction, CCAction outAction, CCLayer layer)
Parameters
inAction
CCAction
outAction
CCAction
layer
CCLayer
Fields
NoLayer
Indicates no layer to be displayed.
public const int NoLayer = -1
Field Value
NoLayer
Indicates no layer to be displayed.
public const int NoLayer = -1
Field Value
NoLayer
public const int NoLayer = -1
Field Value
NoLayer
public const int NoLayer = -1
Field Value
NoLayer
public const int NoLayer = -1
Field Value
NoLayer
public const int NoLayer = -1
Field Value
NoLayer
public const int NoLayer = -1
Field Value
NoLayer
public const int NoLayer = -1
Field Value
NoLayer
public const int NoLayer = -1
Field Value
NoLayer
public const int NoLayer = -1
Field Value
NoLayer
public const int NoLayer = -1
Field Value
NoLayer
public const int NoLayer = -1
Field Value
m_nEnabledLayer
Current index of the active layer.
protected int m_nEnabledLayer
Field Value
m_nEnabledLayer
Current index of the active layer.
protected int m_nEnabledLayer
Field Value
m_nEnabledLayer
protected int m_nEnabledLayer
Field Value
m_nEnabledLayer
protected int m_nEnabledLayer
Field Value
m_nEnabledLayer
protected int m_nEnabledLayer
Field Value
m_nEnabledLayer
protected int m_nEnabledLayer
Field Value
m_nEnabledLayer
protected int m_nEnabledLayer
Field Value
m_nEnabledLayer
protected int m_nEnabledLayer
Field Value
m_nEnabledLayer
protected int m_nEnabledLayer
Field Value
m_nEnabledLayer
protected int m_nEnabledLayer
Field Value
m_nEnabledLayer
protected int m_nEnabledLayer
Field Value
m_nEnabledLayer
protected int m_nEnabledLayer
Field Value
m_pLayers
protected Dictionary<int, CCLayer> m_pLayers
Field Value
m_pLayers
protected Dictionary<int, CCLayer> m_pLayers
Field Value
m_pLayers
protected Dictionary<int, CCLayer> m_pLayers
Field Value
m_pLayers
protected Dictionary<int, CCLayer> m_pLayers
Field Value
m_pLayers
protected Dictionary<int, CCLayer> m_pLayers
Field Value
m_pLayers
protected Dictionary<int, CCLayer> m_pLayers
Field Value
m_pLayers
protected Dictionary<int, CCLayer> m_pLayers
Field Value
m_pLayers
protected Dictionary<int, CCLayer> m_pLayers
Field Value
m_pLayers
protected Dictionary<int, CCLayer> m_pLayers
Field Value
m_pLayers
protected Dictionary<int, CCLayer> m_pLayers
Field Value
m_pLayers
protected Dictionary<int, CCLayer> m_pLayers
Field Value
m_pLayers
protected Dictionary<int, CCLayer> m_pLayers
Field Value
Properties
ActiveLayer
Returns the active layer that was last selected. This method will return null if no layer has been selected.
public virtual CCLayer ActiveLayer { get; }
Property Value
ActiveLayer
Returns the active layer that was last selected. This method will return null if no layer has been selected.
public virtual CCLayer ActiveLayer { get; }
Property Value
ActiveLayer
public virtual CCLayer ActiveLayer { get; }
Property Value
ActiveLayer
public virtual CCLayer ActiveLayer { get; }
Property Value
ActiveLayer
public virtual CCLayer ActiveLayer { get; }
Property Value
ActiveLayer
public virtual CCLayer ActiveLayer { get; }
Property Value
ActiveLayer
public virtual CCLayer ActiveLayer { get; }
Property Value
ActiveLayer
public virtual CCLayer ActiveLayer { get; }
Property Value
ActiveLayer
public virtual CCLayer ActiveLayer { get; }
Property Value
ActiveLayer
public virtual CCLayer ActiveLayer { get; }
Property Value
ActiveLayer
public virtual CCLayer ActiveLayer { get; }
Property Value
ActiveLayer
public virtual CCLayer ActiveLayer { get; }
Property Value
InAction
The action to play on the layer that becomes the active layer
public CCAction InAction { get; set; }
Property Value
InAction
The action to play on the layer that becomes the active layer
public CCAction InAction { get; set; }
Property Value
InAction
public CCAction InAction { get; set; }
Property Value
InAction
public CCAction InAction { get; set; }
Property Value
InAction
public CCAction InAction { get; set; }
Property Value
InAction
public CCAction InAction { get; set; }
Property Value
InAction
public CCAction InAction { get; set; }
Property Value
InAction
public CCAction InAction { get; set; }
Property Value
InAction
public CCAction InAction { get; set; }
Property Value
InAction
public CCAction InAction { get; set; }
Property Value
InAction
public CCAction InAction { get; set; }
Property Value
InAction
public CCAction InAction { get; set; }
Property Value
OutAction
The action to play on the active layer when it becomes inactive.
public CCAction OutAction { get; set; }
Property Value
OutAction
The action to play on the active layer when it becomes inactive.
public CCAction OutAction { get; set; }
Property Value
OutAction
public CCAction OutAction { get; set; }
Property Value
OutAction
public CCAction OutAction { get; set; }
Property Value
OutAction
public CCAction OutAction { get; set; }
Property Value
OutAction
public CCAction OutAction { get; set; }
Property Value
OutAction
public CCAction OutAction { get; set; }
Property Value
OutAction
public CCAction OutAction { get; set; }
Property Value
OutAction
public CCAction OutAction { get; set; }
Property Value
OutAction
public CCAction OutAction { get; set; }
Property Value
OutAction
public CCAction OutAction { get; set; }
Property Value
OutAction
public CCAction OutAction { get; set; }
Property Value
ShowFirstLayerOnEnter
public bool ShowFirstLayerOnEnter { get; set; }
Property Value
ShowFirstLayerOnEnter
public bool ShowFirstLayerOnEnter { get; set; }
Property Value
ShowFirstLayerOnEnter
public bool ShowFirstLayerOnEnter { get; set; }
Property Value
ShowFirstLayerOnEnter
public bool ShowFirstLayerOnEnter { get; set; }
Property Value
ShowFirstLayerOnEnter
public bool ShowFirstLayerOnEnter { get; set; }
Property Value
ShowFirstLayerOnEnter
public bool ShowFirstLayerOnEnter { get; set; }
Property Value
ShowFirstLayerOnEnter
public bool ShowFirstLayerOnEnter { get; set; }
Property Value
ShowFirstLayerOnEnter
public bool ShowFirstLayerOnEnter { get; set; }
Property Value
ShowFirstLayerOnEnter
public bool ShowFirstLayerOnEnter { get; set; }
Property Value
ShowFirstLayerOnEnter
public bool ShowFirstLayerOnEnter { get; set; }
Property Value
ShowFirstLayerOnEnter
public bool ShowFirstLayerOnEnter { get; set; }
Property Value
ShowFirstLayerOnEnter
public bool ShowFirstLayerOnEnter { get; set; }
Property Value
Methods
AddLayer(CCLayer)
Adds the given layer to the list of layers to multiplex. The CCNode.Tag is used as thelayer tag, but is offset by the kTagOffsetForUniqueness constant.
public void AddLayer(CCLayer layer)
Parameters
layer
CCLayer
AddLayer(CCLayer)
Adds the given layer to the list of layers to multiplex. The CCNode.Tag is used as thelayer tag, but is offset by the kTagOffsetForUniqueness constant.
public void AddLayer(CCLayer layer)
Parameters
layer
CCLayer
AddLayer(CCLayer)
public void AddLayer(CCLayer layer)
Parameters
layer
CCLayer
AddLayer(CCLayer)
public void AddLayer(CCLayer layer)
Parameters
layer
CCLayer
AddLayer(CCLayer)
public void AddLayer(CCLayer layer)
Parameters
layer
CCLayer
AddLayer(CCLayer)
public void AddLayer(CCLayer layer)
Parameters
layer
CCLayer
AddLayer(CCLayer)
public void AddLayer(CCLayer layer)
Parameters
layer
CCLayer
AddLayer(CCLayer)
public void AddLayer(CCLayer layer)
Parameters
layer
CCLayer
AddLayer(CCLayer)
public void AddLayer(CCLayer layer)
Parameters
layer
CCLayer
AddLayer(CCLayer)
public void AddLayer(CCLayer layer)
Parameters
layer
CCLayer
AddLayer(CCLayer)
public void AddLayer(CCLayer layer)
Parameters
layer
CCLayer
AddLayer(CCLayer)
public void AddLayer(CCLayer layer)
Parameters
layer
CCLayer
OnEnter()
This will switch to the first layer if the ShowFirstLayerOnEnter flag is true and there is a layer in the list of multiplexed layers.
public override void OnEnter()
OnEnter()
This will switch to the first layer if the ShowFirstLayerOnEnter flag is true and there is a layer in the list of multiplexed layers.
public override void OnEnter()
OnEnter()
public override void OnEnter()
OnEnter()
public override void OnEnter()
OnEnter()
public override void OnEnter()
OnEnter()
public override void OnEnter()
OnEnter()
public override void OnEnter()
OnEnter()
public override void OnEnter()
OnEnter()
public override void OnEnter()
OnEnter()
public override void OnEnter()
OnEnter()
public override void OnEnter()
OnEnter()
public override void OnEnter()
SwitchTo(int)
Swtich to the given index layer and use the given action after the layer is added to the parent. The parameter can be the index or it can be the tag of the layer.
public CCLayer SwitchTo(int n)
Parameters
n
int
Send in NoLayer to hide all multiplexed layers. Otherwise, send in a tag or the logical index of the layer to show.
Returns
The layer that is going to be shown. This can return null if the SwitchTo layer is NoLayer
SwitchTo(int)
Swtich to the given index layer and use the given action after the layer is added to the parent. The parameter can be the index or it can be the tag of the layer.
public CCLayer SwitchTo(int n)
Parameters
n
int
Send in NoLayer to hide all multiplexed layers. Otherwise, send in a tag or the logical index of the layer to show.
Returns
The layer that is going to be shown. This can return null if the SwitchTo layer is NoLayer
SwitchTo(int)
public CCLayer SwitchTo(int n)
Parameters
n
int
Returns
SwitchTo(int)
public CCLayer SwitchTo(int n)
Parameters
n
int
Returns
SwitchTo(int)
public CCLayer SwitchTo(int n)
Parameters
n
int
Returns
SwitchTo(int)
public CCLayer SwitchTo(int n)
Parameters
n
int
Returns
SwitchTo(int)
public CCLayer SwitchTo(int n)
Parameters
n
int
Returns
SwitchTo(int)
public CCLayer SwitchTo(int n)
Parameters
n
int
Returns
SwitchTo(int)
public CCLayer SwitchTo(int n)
Parameters
n
int
Returns
SwitchTo(int)
public CCLayer SwitchTo(int n)
Parameters
n
int
Returns
SwitchTo(int)
public CCLayer SwitchTo(int n)
Parameters
n
int
Returns
SwitchTo(int)
public CCLayer SwitchTo(int n)
Parameters
n
int
Returns
SwitchToAndReleaseMe(int)
Switches to the new layer and removes the old layer from management.
public CCLayer SwitchToAndReleaseMe(int n)
Parameters
n
int
Returns
SwitchToAndReleaseMe(int)
Switches to the new layer and removes the old layer from management.
public CCLayer SwitchToAndReleaseMe(int n)
Parameters
n
int
Returns
SwitchToAndReleaseMe(int)
public CCLayer SwitchToAndReleaseMe(int n)
Parameters
n
int
Returns
SwitchToAndReleaseMe(int)
public CCLayer SwitchToAndReleaseMe(int n)
Parameters
n
int
Returns
SwitchToAndReleaseMe(int)
public CCLayer SwitchToAndReleaseMe(int n)
Parameters
n
int
Returns
SwitchToAndReleaseMe(int)
public CCLayer SwitchToAndReleaseMe(int n)
Parameters
n
int
Returns
SwitchToAndReleaseMe(int)
public CCLayer SwitchToAndReleaseMe(int n)
Parameters
n
int
Returns
SwitchToAndReleaseMe(int)
public CCLayer SwitchToAndReleaseMe(int n)
Parameters
n
int
Returns
SwitchToAndReleaseMe(int)
public CCLayer SwitchToAndReleaseMe(int n)
Parameters
n
int
Returns
SwitchToAndReleaseMe(int)
public CCLayer SwitchToAndReleaseMe(int n)
Parameters
n
int
Returns
SwitchToAndReleaseMe(int)
public CCLayer SwitchToAndReleaseMe(int n)
Parameters
n
int
Returns
SwitchToAndReleaseMe(int)
public CCLayer SwitchToAndReleaseMe(int n)
Parameters
n
int
Returns
SwitchToFirstLayer()
Switches to the first layer.
public CCLayer SwitchToFirstLayer()
Returns
SwitchToFirstLayer()
Switches to the first layer.
public CCLayer SwitchToFirstLayer()
Returns
SwitchToFirstLayer()
public CCLayer SwitchToFirstLayer()
Returns
SwitchToFirstLayer()
public CCLayer SwitchToFirstLayer()
Returns
SwitchToFirstLayer()
public CCLayer SwitchToFirstLayer()
Returns
SwitchToFirstLayer()
public CCLayer SwitchToFirstLayer()
Returns
SwitchToFirstLayer()
public CCLayer SwitchToFirstLayer()
Returns
SwitchToFirstLayer()
public CCLayer SwitchToFirstLayer()
Returns
SwitchToFirstLayer()
public CCLayer SwitchToFirstLayer()
Returns
SwitchToFirstLayer()
public CCLayer SwitchToFirstLayer()
Returns
SwitchToFirstLayer()
public CCLayer SwitchToFirstLayer()
Returns
SwitchToFirstLayer()
public CCLayer SwitchToFirstLayer()
Returns
SwitchToNextLayer()
Switches to the next logical layer that was added to the multiplexer. Switches to the first layer when no layer is active.
public CCLayer SwitchToNextLayer()
Returns
SwitchToNextLayer()
Switches to the next logical layer that was added to the multiplexer. Switches to the first layer when no layer is active.
public CCLayer SwitchToNextLayer()
Returns
SwitchToNextLayer()
public CCLayer SwitchToNextLayer()
Returns
SwitchToNextLayer()
public CCLayer SwitchToNextLayer()
Returns
SwitchToNextLayer()
public CCLayer SwitchToNextLayer()
Returns
SwitchToNextLayer()
public CCLayer SwitchToNextLayer()
Returns
SwitchToNextLayer()
public CCLayer SwitchToNextLayer()
Returns
SwitchToNextLayer()
public CCLayer SwitchToNextLayer()
Returns
SwitchToNextLayer()
public CCLayer SwitchToNextLayer()
Returns
SwitchToNextLayer()
public CCLayer SwitchToNextLayer()
Returns
SwitchToNextLayer()
public CCLayer SwitchToNextLayer()
Returns
SwitchToNextLayer()
public CCLayer SwitchToNextLayer()
Returns
SwitchToNone()
Hides the current display layer and sets the current enabled layer to none. The out action is played for the current display layer. Calling this method will also set ShowFirstLayerOnEnter to false.
public void SwitchToNone()
SwitchToNone()
Hides the current display layer and sets the current enabled layer to none. The out action is played for the current display layer. Calling this method will also set ShowFirstLayerOnEnter to false.
public void SwitchToNone()
SwitchToNone()
public void SwitchToNone()
SwitchToNone()
public void SwitchToNone()
SwitchToNone()
public void SwitchToNone()
SwitchToNone()
public void SwitchToNone()
SwitchToNone()
public void SwitchToNone()
SwitchToNone()
public void SwitchToNone()
SwitchToNone()
public void SwitchToNone()
SwitchToNone()
public void SwitchToNone()
SwitchToNone()
public void SwitchToNone()
SwitchToNone()
public void SwitchToNone()
SwitchToPreviousLayer()
Switches to the previous logical layer that was added to the multiplexer. Switches to the first layer when no layer is active.
public CCLayer SwitchToPreviousLayer()
Returns
SwitchToPreviousLayer()
Switches to the previous logical layer that was added to the multiplexer. Switches to the first layer when no layer is active.
public CCLayer SwitchToPreviousLayer()
Returns
SwitchToPreviousLayer()
public CCLayer SwitchToPreviousLayer()
Returns
SwitchToPreviousLayer()
public CCLayer SwitchToPreviousLayer()
Returns
SwitchToPreviousLayer()
public CCLayer SwitchToPreviousLayer()
Returns
SwitchToPreviousLayer()
public CCLayer SwitchToPreviousLayer()
Returns
SwitchToPreviousLayer()
public CCLayer SwitchToPreviousLayer()
Returns
SwitchToPreviousLayer()
public CCLayer SwitchToPreviousLayer()
Returns
SwitchToPreviousLayer()
public CCLayer SwitchToPreviousLayer()
Returns
SwitchToPreviousLayer()
public CCLayer SwitchToPreviousLayer()
Returns
SwitchToPreviousLayer()
public CCLayer SwitchToPreviousLayer()
Returns
SwitchToPreviousLayer()
public CCLayer SwitchToPreviousLayer()