Skip to content

Instantly share code, notes, and snippets.

Avatar

Stephen Domenici sdomenici009

View GitHub Profile
View LeaderboardManager.cs
using System.Collections;
using System.Collections.Generic;
using GooglePlayGames;
using GooglePlayGames.BasicApi;
using UnityEngine;
using UnityEngine.SocialPlatforms;
public class LeaderboardManager : MonoBehaviour {
private void SetInteractionEnabled (bool value) {
//TODO: Add logic here that disables everything you don't want the user to interact with while the leaderboard is open.
View gist:42ed42a31f0343f8653d95b9880534cc
private int rowOffset = 70;
private int columnOffset = 20;
private int rowIdentifierOffset = 20;
private int columnIdentifierOffset = 40;
private int initialColumnIdentifierOffset = 40;
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
Rect newPosition = position;
View CustomTileData.cs
using UnityEngine;
using UnityEditor;
using System.Collections;
[CustomPropertyDrawer(typeof(TileData))]
public class CustomTileData : PropertyDrawer
{
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
EditorGUI.PrefixLabel(position, label);
View TileData.cs
using UnityEngine;
using System.Collections;
[System.Serializable]
public class TileData
{
[System.Serializable]
public struct rowData
{
public Vector2[] row;
View lms-graph
= Organization Learning
Learning Management Systems (LMS) are typically deployed in large organizations to support learning processes that align with business goals. These systems tie together their employees, organizations, certifications, courses, jobs in order to supplement business strategy.
This graph gist models a slice of this ecosystem- certification paths and position dependencies on certifications.
== Domain
A certification has one or more learning paths. A learning path is an ordered sequence of items that must be completed in order to acquire the certification. A learning item can be completed by taking a course or proving work experience. A course has a delivery type- it can be web based or classroom. Work Experience specifies the number of hours one must put in to complete it.
To aquire a certification, an employee can take take any learning path and complete every item in it.
Employees hold certifications and complete courses and work experience. An employee may fill a position which require