ByChance.Levels2D.ChunkTemplate2D.AddContext C# (CSharp) Метод

AddContext() приватный Метод

Adds the passed context to the list of contexts of this chunk template and sets its chunk-wide unique index.
private AddContext ( Context context ) : void
context ByChance.Core.Context Context to add to this template.
Результат void
        private void AddContext(Context context)
        {
            context.Index = this.ContextCount;
            this.ChunkTemplateContexts.Add(context);
        }

Same methods

ChunkTemplate2D::AddContext ( Vector2F relativePosition ) : void
ChunkTemplate2D::AddContext ( Vector2F relativePosition, string tag ) : void